home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / cpp_libs / cmdline.lha / cmdline / src / lib / patchlevel.c < prev    next >
Encoding:
C/C++ Source or Header  |  1993-04-13  |  1.4 KB  |  48 lines

  1. //------------------------------------------------------------------------
  2. // ^FILE: patchlevel.c - version specific information
  3. //
  4. // ^DESCRIPTION:
  5. //    This file contains all the version specific information of this
  6. //    particular release of the CmdLine library.  It also implements
  7. //    the static member functions of a CmdLine that return version
  8. //    specific information.
  9. //
  10. // ^HISTORY:
  11. //    04/03/92    Brad Appleton    <brad@ssd.csd.harris.com>    Created
  12. //
  13. //    03/03/93    Brad Appleton    <brad@ssd.csd.harris.com>
  14. //    - Modified for patch 1
  15. //-^^---------------------------------------------------------------------
  16.  
  17. #include "cmdline.h"
  18.  
  19.    // Record the version-identifier for this project.
  20.    //
  21.    // My source-code management system lets me use a symbolic-name
  22.    // to identify a given configuration of the project. From this
  23.    // symbolic-name I can easily find out the exact version of each
  24.    // file that makes up this version of the project.
  25.    //
  26. static const char ident[] =
  27.    "@(#)SMS  task: cmdline-1.01" ;
  28.  
  29.  
  30.    // Release and patchlevel information
  31. #define  CMDLINE_RELEASE     1
  32. #define  CMDLINE_PATCHLEVEL  1
  33. #define  CMDLINE_IDENT       "@(#)CmdLine    1.01"
  34.  
  35. unsigned
  36. CmdLine::release(void)  { return  CMDLINE_RELEASE; }
  37.  
  38. unsigned
  39. CmdLine::patchlevel(void)  { return  CMDLINE_PATCHLEVEL; }
  40.  
  41. const char *
  42. CmdLine::ident(void) {
  43.    static const char Ident[] = CMDLINE_IDENT ;
  44.  
  45.    return  Ident;
  46. }
  47.  
  48.